package com.example.base.system.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author X.I.O
 * @since 2024-04-10
 */

@Data
@ApiModel(description = "")
@TableName("sys_api")
public class SysApi implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Integer id;
    /**
    * api名称
    */
    @ApiModelProperty(value = "api名称")
    private String apiName;
    /**
    * api地址
    */
    @ApiModelProperty(value = "api地址")
    private String apiUrl;
    /**
    * 关联菜单id
    */
    @ApiModelProperty(value = "关联菜单id")
    private String menuId;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
    * 删除状态
    */
    @TableLogic
    @ApiModelProperty(value = "删除状态")
    private Integer deleted;
    /**
    * 是否启用
    */
    @ApiModelProperty(value = "是否启用")
    private Boolean isEnabled;


    @ApiModelProperty("父菜单id")
    private Integer menuPid;

}
